package com.api.shopapi.service;

import com.api.shopapi.entity.ElderlyCheckinAssessItem;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author maochuan
 */
@Service
public interface ElderlyCheckinAssessItemService {
    int insert(ElderlyCheckinAssessItem elderlyCheckinAssessItem);

    int deleteByElderlyCheckinAssessItemCode(String elderlyCheckinAssessItemCode);

    int updateByElderlyCheckinAssessItemCode(ElderlyCheckinAssessItem elderlyCheckinAssessItem);

    ElderlyCheckinAssessItem getByElderlyCheckinAssessItemCode(String elderlyCheckinAssessItemCode);

    int deleteByElderlyCheckinAssessCode(String elderlyCheckinAssessCode);

    List<ElderlyCheckinAssessItem> getByElderlyCheckinAssessCode(String elderlyCheckinAssessCode);

    List<ElderlyCheckinAssessItem> getByElderlyCheckinAssessCodeGroupByCheckinAssessClassCode(String elderlyCheckinAssessCode);

    List<ElderlyCheckinAssessItem> getByElderlyCheckinAssessCodeAndCheckinAssessClassCode(String elderlyCheckinAssessCode, String checkinAssessClassCode);
}
